import re

__author__="user"
__date__ ="$2008-11-21 16:32:54$"

def remove_html_tags(data):
    p = re.compile(r'<.*?>')
    return p.sub('', data)

def replace_nbsp(data):
    p = re.compile(r'&nbsp;')
    return p.sub('\n', data)

